<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="UTF-8">
  <title>中视场彩色相机</title>
  <link rel="stylesheet" href="/static/css/bootstrap.min.css">
  <link rel="stylesheet" href="/static/css/bbfont.css">
  <link rel="stylesheet" href="/static/css/style.css">
  <link rel="stylesheet" href="qv.css">
  <style>
  </style>
</head>
<body id="viewer" class="bg-transparent">
<div class="d-flex flex-column vh-100">
  <div class="p-1">
    <table class="table table-sm table-dark table-bordered table-hover mb-0">
      <thead>
      <tr>
        <th>工作模式</th>
        <th>信息长度</th>
        <th>下传格式(2bits)</th>
        <th>测量模式(6bits)</th>
        <th>测量帧号1</th>
        <th>测量帧号1数据长度</th>
        <th>测量帧号2</th>
        <th>测量帧号2数据长度</th>
      </tr>
      </thead>
      <tbody>
      <!-- 数据行 -->
      <tr>
        <td>噪声测量模式1</td>
        <td>0xFFFF</td>
        <td>000b</td>
        <td>100001b</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
      </tr>
      <tr>
        <td>噪声测量模式2</td>
        <td>0xFFFF</td>
        <td>000b</td>
        <td>100001b</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
      </tr>
      <tr>
        <td>低频测量模式1</td>
        <td>0xFFFF</td>
        <td>000b</td>
        <td>100001b</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
      </tr>
      <tr>
        <td>高频测量模式1</td>
        <td>0xFFFF</td>
        <td>000b</td>
        <td>100001b</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
      </tr>
      <tr>
        <td>低频测量模式2</td>
        <td>0xFFFF</td>
        <td>000b</td>
        <td>100001b</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
      </tr>
      <tr>
        <td>高频测量模式2</td>
        <td>0xFFFF</td>
        <td>000b</td>
        <td>100001b</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
      </tr>
      <tr>
        <td>定标模式</td>
        <td>0xFFFF</td>
        <td>000b</td>
        <td>100001b</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
      </tr>
      <tr>
        <td>交替测量模式1（高频）</td>
        <td>0xFFFF</td>
        <td>000b</td>
        <td>100001b</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
      </tr>
      <tr>
        <td>交替测量模式1（低频）</td>
        <td>0xFFFF</td>
        <td>000b</td>
        <td>100001b</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
      </tr>
      <tr>
        <td>交替测量模式2（高频）</td>
        <td>0xFFFF</td>
        <td>000b</td>
        <td>100001b</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
      </tr>
      <tr>
        <td>交替测量模式2（低频）</td>
        <td>0xFFFF</td>
        <td>000b</td>
        <td>100001b</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
        <td>0xFFFF</td>
      </tr>
      <!-- 其他行的数据请按照上述格式补充 -->
      </tbody>
    </table>
  </div>
  <div class="d-grid flex-grow-1">
    <div class="img">
      <div id="fig1"></div>
    </div>
    <div class="img">
      <div id="fig2"></div>
    </div>
  </div>
</div>
<script src="/static/js/echarts.min.js"></script>
<script src="/static/js/jquery-3.6.0.min.js"></script>
<script>
  class Viewer {
    constructor() {
      this.imgs = [1, 2,].map(i => echarts.init(document.getElementById('fig' + i), 'dark'));

      let opt = {
        backgroundColor: 'transparent', animation: false,
        title: {text: '干涉图'},
        xAxis: {type: 'value'},
        yAxis: {type: 'value'}, tooltip: {show: true},
        series: {type: 'line', data: [[1, 2], [2, 3], [3, 2], [13, 1]]}
      }
      this.imgs.forEach((e, i) => {
        opt.title.text = "图-" + (i + 1)
        e.setOption(opt)
      })
    }
  }

  main = new Viewer()

</script>
</body>
</html>